Skip to content

gh-143070: Use "+" instead of "!" in automatically generated tkinter widget names#151975

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-widget-name-char
Open

gh-143070: Use "+" instead of "!" in automatically generated tkinter widget names#151975
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-widget-name-char

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 23, 2026

Copy link
Copy Markdown
Member

The "!" prefix has a special meaning in the tag expressions of the canvas and text widgets ("!", "&&", "||", "^" and parentheses), so an automatically generated widget name could not be used as a tag. "+" has no special meaning there, nor in option database patterns or Tcl lists, and a user is very unlikely to start an explicit name with it.

…inter widget names

The "!" prefix has a special meaning in the tag expressions of the
canvas and text widgets ("!", "&&", "||", "^" and parentheses), so an
automatically generated widget name could not be used as a tag.  "+" has
no special meaning there, nor in option database patterns or Tcl lists,
and a user is very unlikely to start an explicit name with it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant